package cn.bs.domain.dao;


import java.util.Date;

public class Review {
    private Integer id;
    private Integer canteenId;//评论的餐厅id
    private Integer userId;//发布评论的用户id
    private String content;//评论内容
    private String image;//配图
    private Date date;//发布评论的日期

    public Review() {
    }

    public Review(Integer id, Integer canteenId, Integer userId, String content,String image, Date date) {
        this.id = id;
        this.canteenId = canteenId;
        this.userId = userId;
        this.content = content;
        this.image = image;
        this.date = date;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCanteenId() {
        return canteenId;
    }

    public void setCanteenId(Integer canteenId) {
        this.canteenId = canteenId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
